// 该文件专门用于创建整个应用的路由器
import VueRouter from 'vue-router'
import HomePage from '../pages/HomePage'
import Login from '../pages/Login'
import enterPage from '../pages/enterPage'
import imageUpload from '../pages/imageUpload'



export default new VueRouter({
    routes:[
        {
            path:'/imageUpload',
            component:imageUpload
        },


        {
            path:'*',
            redirect:'/HomePage'
        },
        {
            path:'/HomePage',
            component:HomePage,
          
        },
       
        {
            path:'/Login',
            component:Login
        },
        {
            path:'/enterPage',
                component:enterPage
        },
       
    ]
})
